This script controls the operation of pro Fit for batch processing a series of files. The files are all data files located in the folder specified when running the script. Each data file is loaded into pro Fit. Once the file is loaded, the program scriptProgram (defined below) is run. Then the file is closed and the next file
is loaded. When all files are handled, scriptProgram is removed from pro Fit's user menu.